package com.sdl.timesblogmp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sdl.timesblogmp.model.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sdl.timesblogmp.model.vo.BlogInfo;
import com.sdl.timesblogmp.model.vo.DashBoardInfo;
import com.sdl.timesblogmp.model.vo.PageParam;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdl
 * @since 2020-05-11
 */
public interface BlogService extends IService<Blog> {
    int postBlog(BlogInfo blogInfo);
    IPage<BlogInfo> findBlogInfo(PageParam pageParam);
    BlogInfo findOneBlogInfo(Integer id);
    DashBoardInfo getDashBoardInfo();
}
